import { CommonComponenetProps } from "../../interface";

const Page = ( {id, name, children, styles }: CommonComponenetProps ) => {

    return (
        <div 
            className="page p-[20px]"
            style={styles}
        >
            {/* 子组件会插到这个位置， children 相当于插槽 */}
            { children } 
        </div>
    )
}

export default Page;